﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.EContract.Dto
{
    /// <summary>
    /// 签署人/游客代表
    /// 签署人信息，如果签署人不是游客之一或签署人是企业，以下信息必填
    /// </summary>
    public class Signatory
    {
        /// <summary>
        /// 签署地点
        /// </summary>
        public string signingPlace { get; set; }
        /// <summary>
        /// 代签者/企业经办人姓名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 证件信息
        /// </summary>
        public IDInfo ID { get; set; } 
        /// <summary>
        /// 联系电话
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 固定电话
        /// </summary>
        public string officePhone { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string companyName { get; set; }
        /// <summary>
        /// 联系地址
        /// </summary>
        public Address address { get; set; }
        /// <summary>
        /// 联系邮箱
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string fax { get; set; }
        /// <summary>
        /// 签约方式，1:短信签约，2:现场签约，3.线下签约
        /// 允许值: 1, 2, 3
        /// </summary>
        public int mode { get; set; }
    }

    /// <summary>
    /// 联系地址
    /// </summary>
    public class Address
    {
        /// <summary>
        /// 地址
        /// </summary>
        public string description { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        public string zip { get; set; }
    }
}
